﻿@model Scrumrun.Models.Project

@{
    ViewBag.Title = "Details";
}

<h3>@Model.Name</h3>

    <div class="row mainwrapper">
        <div class="span2">
            <ul class="unstyled">
                <li>
                    @Html.ActionLink("View Backlog", "index", "Backlog", new { ProjectId = Model.ProjectId.ToString() }, new { @class = "btn btn-info" })
                </li>
                <li>&nbsp;</li>
                <li>
                    @Html.ActionLink("View Board", "sprintboard", "Sprint", new { ProjectId = Model.ProjectId.ToString() } , new { @class="btn btn-primary"} )
                </li>
@*                    <li>&nbsp;</li>
                <li><a class="btn" href="sprintboard.html"><i class="icon-plus"></i> Userstory</a>
                </li>*@

            </ul>
        </div>
        <!--sidebar-->
        <div class="span10">
            <div class="contentwrap">
                <div class="row">
                    <div class="span3">
                        @Html.DisplayFor(model => model.StartDate) - @Html.DisplayFor(model => model.EndDate)   

                        <h4>@ViewBag.currentSprint</h4>
                        <p>@ViewBag.sprintStart - @ViewBag.sprintEnd</p>

                        <ul class="unstyled inline">
                            <li><h1>@ViewBag.remainingDays</h1></li>
                            <li>of @ViewBag.totalDays days</li>
                        </ul>

                    </div>
                    <div class="span6">BurnDown
                        <div class="demo-container">
			                <div id="graphholder" class="graphholder"></div>
		                </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


@Html.Hidden("GraphPostUrl",Url.Action("GetGraph","Project"));
@Html.Hidden("ProjectId", Model.ProjectId.ToString())

@section Scripts {

@*<script src="~/Scripts/jquery.flot.js"></script>

<script>




</script>*@

}